package com.jobboard.auth.domain.convert;

import com.jobboard.auth.domain.entity.AuthPermissionBO;
import com.jobboard.auth.domain.entity.AuthRoleBO;
import com.jobboard.auth.infra.basic.entity.AuthPermission;
import com.jobboard.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 用户bo转换器
 *
 * @author rose 
 */
@Mapper
public interface AuthPermissionBOConverter {

    AuthPermissionBOConverter INSTANCE = Mappers.getMapper(AuthPermissionBOConverter.class);

    AuthPermission convertBoToEntity(AuthPermissionBO authPermissionBO);
}
